我居然手滑
我其實什麼都不會Q
git diff
可以顯示出檔案差異git patch
可以直接將檔案差異部分補進去
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 975a0f6..61e9f82 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -331,7 +331,6 @@ if(SPDLOG_INSTALL)
# ---------------------------------------------------------------------------------------
install(EXPORT spdlog DESTINATION ${export_dest_dir} NAMESPACE spdlog:: FILE ${config_targets_file})
- include(CMakePackageConfigHelpers)
configure_package_config_file("${project_config_in}" "${project_config_out}"
INSTALL_DESTINATION ${export_dest_dir})
@@ -342,4 +341,8 @@ if(SPDLOG_INSTALL)
# Support creation of installable packages
# ---------------------------------------------------------------------------------------
include(cmake/spdlogCPack.cmake)
+
+ # -----------
+ # I just wanna lay in my bed
+ # -----------
endif()
* 這個檔案就可以丟出去給別人了